import { Model,  } from 'sequelize-typescript';
import { Table, Column } from './decorate';

@Table({
    underscored: true,
    underscoredAll: true,
    timestamps: true,
    paranoid: true,
    indexes: [
        {
            fields: ['tag_id']
        }
    ]
})
export default class ArticleTag extends Model<ArticleTag> { 
    @Column
    aritcleId !: number ;
    @Column
    tagId !: number ;
}